home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fritz: All Fritz
/
All Fritz.zip
/
All Fritz
/
FILES
/
PROGASIC
/
BASFILES.LZH
/
WAITCHAR.BAS
< prev
next >
Wrap
BASIC Source File
|
1988-09-10
|
285b
|
23 lines
'$INCLUDE:'QBTOOLS.INC'
'' '$INCLUDE: 'qbtools2.inc'
FUNCTION WaitforCharacter$ (a$)
DO
w$ = ""
WHILE w$ = ""
w$ = UCASE$(INKEY$)
WEND
IF INSTR(UCASE$(a$), w$) THEN
WaitforCharacter$ = w$
EXIT FUNCTION
END IF
LOOP
END FUNCTION